package com.winchain.chainbill.receivables;

import java.math.BigDecimal;

public class ReceivablesUtil {
	public static BigDecimal calcCreditMoney(BigDecimal arMoney, BigDecimal converRatio, BigDecimal pmtRatio) {
		BigDecimal cm = arMoney.multiply(pmtRatio.divide(new BigDecimal(100)));
		cm = cm.multiply(converRatio.divide(new BigDecimal(100)));

		return cm;
	}
}
